﻿using System.Collections.Generic;
using P7DC.Entity.Interface;

namespace P7DC.DAL.Interface
{
	public interface IRepository<TEntity, TKey>
	where TEntity : IEntity<TKey>
	{
		IEnumerable<TEntity> Get();
		TEntity Get(TKey id);
	}
}
